package com.cs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 中标候选人对象 cs_candidate
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class CsCandidate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 候选人ID */
    private Long zId;

    /** 招标项目编号 */
    @Excel(name = "招标项目编号")
    private String iNumber;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private String hId;

    /** 最终报价 */
    @Excel(name = "最终报价")
    private Long finalOffer;

    /** 最终得分 */
    @Excel(name = "最终得分")
    private Long finalScore;

    /** 是否推荐（是：0  否：1） */
    @Excel(name = "是否推荐", readConverterExp = "是=：0,否=：1")
    private Long recommend;

    /** 排名 */
    @Excel(name = "排名")
    private Long ranking;

    /** 专家签到表 */
    @Excel(name = "专家签到表")
    private String sign;

    /** 审查表 */
    @Excel(name = "审查表")
    private String censor;

    /** 评审表 */
    @Excel(name = "评审表")
    private String review;

    /** 最终汇总表 */
    @Excel(name = "最终汇总表")
    private String summary;

    /** 是否中标（是：0  否：1） */
    @Excel(name = "是否中标", readConverterExp = "是=：0,否=：1")
    private Long bidder;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String hName;

    public void setzId(Long zId) 
    {
        this.zId = zId;
    }
    public Long getzId() 
    {
        return zId;
    }
    public void setiNumber(String iNumber) 
    {
        this.iNumber = iNumber;
    }
    public String getiNumber() 
    {
        return iNumber;
    }
    public void sethId(String hId) 
    {
        this.hId = hId;
    }
    public String gethId() 
    {
        return hId;
    }
    public void setFinalOffer(Long finalOffer) 
    {
        this.finalOffer = finalOffer;
    }
    public Long getFinalOffer() 
    {
        return finalOffer;
    }
    public void setFinalScore(Long finalScore) 
    {
        this.finalScore = finalScore;
    }
    public Long getFinalScore() 
    {
        return finalScore;
    }
    public void setRecommend(Long recommend) 
    {
        this.recommend = recommend;
    }
    public Long getRecommend() 
    {
        return recommend;
    }
    public void setRanking(Long ranking) 
    {
        this.ranking = ranking;
    }
    public Long getRanking() 
    {
        return ranking;
    }
    public void setSign(String sign)
    {
        this.sign = sign;
    }
    public String getSign()
    {
        return sign;
    }
    public void setCensor(String censor)
    {
        this.censor = censor;
    }
    public String getCensor()
    {
        return censor;
    }
    public void setReview(String review)
    {
        this.review = review;
    }
    public String getReview()
    {
        return review;
    }
    public void setSummary(String summary)
    {
        this.summary = summary;
    }
    public String getSummary()
    {
        return summary;
    }
    public void setBidder(Long bidder) 
    {
        this.bidder = bidder;
    }
    public Long getBidder() 
    {
        return bidder;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }
    public Date getSendTime() 
    {
        return sendTime;
    }
    public void sethName(String hName) 
    {
        this.hName = hName;
    }
    public String gethName() 
    {
        return hName;
    }

    public CsCandidate() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zId", getzId())
            .append("iNumber", getiNumber())
            .append("hId", gethId())
            .append("finalOffer", getFinalOffer())
            .append("finalScore", getFinalScore())
            .append("recommend", getRecommend())
            .append("ranking", getRanking())
            .append("sign", getSign())
            .append("censor", getCensor())
            .append("review", getReview())
            .append("summary", getSummary())
            .append("bidder", getBidder())
            .append("sendTime", getSendTime())
            .append("hName", gethName())
            .toString();
    }
}